-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cibuildwheel: move configuration to pyproject.toml #412
base: master
Are you sure you want to change the base?
Conversation
1967715
to
0b856da
Compare
See my commits to switch using pyproject.toml seems they are helping with the building situation quite a lot It's still a work in progress (macos is not targeting correct in some) Other issues surfaced cause failing extensions:
We'll need to take a call on those |
Thanks @fruch , it fixed ubuntu, working on aarch, it looks like all major building binaries are affected: patchelf, gcc, c++. |
You are missing the point, compilation is done inside docker, we can try updating packing inside the before build command, or find out what the root cause, it's only one extension that crashes With the new setup cibuildwheel and docker, you can run the aarch64 locally (it would be slow be easier to debug) |
It looks like I found cure for aarch https://github.com/scylladb/python-driver/actions/runs/12970378006/job/36175553064?pr=411, ran pass |
fixes macos as well, making a glimpse at windows. |
47d4409
to
b2c6171
Compare
b2c6171
to
f36dbf2
Compare
move the configuration to pyproject.toml, that it would be easier to use from multiple workflow and for local usage for example: ``` uv pip install cibuildwheel CIBW_FREE_THREADED_SUPPORT=True cibuildwheel --only cp313-manylinux_x86_64 ```
without this, that `c_shard_info.c` fails to compile like the following: ``` cassandra\c_shard_info.c(3083): error C2065: '__uint128_t': undeclared identifier cassandra\c_shard_info.c(3083): error C2146: syntax error: missing ')' before identifier '__pyx_v_biased_token' cassandra\c_shard_info.c(3083): error C2059: syntax error: ')' cassandra\c_shard_info.c(3083): error C2059: syntax error: ')' cassandra\c_shard_info.c(3083): error C2059: syntax error: ')' ```
with this change, we version string of the driver would alway follow the git tag it would add extra information if it's development branch without a tag like git sha and date of the build Ref: https://setuptools-scm.readthedocs.io/
aacb150
to
e5ae035
Compare
in the PR now left a just:
|
also the pre release workflow, is setup for python 3.14, which isn't available, but it would not fail until there would be a beta version available (i.e. we'll need to update cibuildwheel for that to happen) |
move the configuration to pyproject.toml, that it would
be easier to use from multiple workflow and for local usage
for example:
Pre-review checklist
./docs/source/
.Fixes:
annotations to PR description.